
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt" %>
<!DOCTYPE html>
<html>
    <head>
        <sj:head/>
        <script src="js/jquery.js"></script>
        <script src="js/jquery.cookie.js"></script>
        <script src="js/coms.js"></script>

        <title><s:text name="com.logintitle"/></title>
    </head>
    <body>
        <s:include value="/jsp/header.jsp">
            <s:param name="user" value="#session.user.username" />
        </s:include>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span3">
                    <s:action name="selectMenu" executeResult="true"/>                        
                </div>
                <div class="span9">

                    <div class="hero-unit">


                        <h2>Hello <s:property value="%{name}"/>!!</h2>
                        <h4>Take a look at following upcoming Events & Conferences</h4>                            
                        <div class="row-fluid">

                           <s:iterator value="conferences" id="conference" >
                                <div class="span4">

                                    <h3><s:property value="name" /></h3>
                                    <p><s:property value="detail" /></p>
                                    <p>S$ <s:property value="cost" /></p>
                                    <p><a class="btn" href="searchConference_">View details »</a></p>
                                </div>   
                            </s:iterator>

                        </div>
                        <div class="row-fluid">

                            <s:iterator value="events" id="event">
                                <div class="span4">  

                                    <h3><s:property value="name" /></h3>
                                    <p><s:property value="description" /></p>
                                    <p><s:property value="startDate" /></p>
                                    <p><s:property value="endDate" /></p>

                                </div>   
                            </s:iterator>


                        </div><!--/row-->

                    </div>
                </div>
            </div>
            <s:include value="/jsp/footer.jsp"/>
    </body>
</html>
